package test.service;

import java.util.Date;

import com.neuedu.oasystem.entity.Notice;
import com.neuedu.oasystem.service.NoticeService;
import com.neuedu.oasystem.service.impl.NoticeServiceImpl;

public class NoticeTestService {

	public static void main(String[] args) {
		NoticeService noticeService = new NoticeServiceImpl();
		Date now = new Date();
		Notice notice = new Notice("9", now, "0", 1, "hfkjhdskjdhf");
		noticeService.add(notice);
	
		noticeService.add(notice);
		noticeService.editById(1);
		String title = "10";
		noticeService.findByTitle(title);

	}

}
